//
//  PSFileListController.h
//  photoSep
//
//  Created by David Michaeli on 04/10/12.
//  Copyright (c) 2012 David Michaeli. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>

@class PSFileListView;
@class PSFileListNode;


@interface PSFileListController : NSViewController <NSTableViewDataSource, NSTableViewDelegate> {
@private
    IBOutlet PSFileListView *_tableView;
    NSMutableArray* _nodes;
    int _count;
    
    SEL  _removeItemButtonSel;
    SEL  _setProgressValSel;
    PSFileListNode* _currentSelectedNode;

}

@property SEL setProgressValSel;
@property SEL removeItemButtonSel;
@property (weak) PSFileListView* tableView;
@property (retain) PSFileListNode* currentSelectedNode;

- (IBAction)addRow:(id)sender;
- (IBAction)removeRow:(id)sender;
- (void)removeItemPressed:(id)sender;
- (void)setProcessingProgress:(id)sender val:(NSNumber*)val;

@end
